/* eslint-disable space-before-function-paren */
/* eslint-disable no-unused-vars */
/* eslint-disable keyword-spacing */
/* eslint-disable indent */
/* eslint-disable no-undef */
/* eslint-disable no-sequences */
/* eslint-disable no-unused-expressions */
import Vue from 'vue'
import Vuex from 'vuex'
import state from './state'

Vue.use(Vuex)
export default new Vuex.Store({
    state: state,
    mutations: {
        changeCity(state, city) {
            state.city = city
            try {
                localStorage.city = city
            } catch (e) { }
        }
    }
})
